﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace InsedeTheFigure
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = 2;
            int y = 3;
            bool isInsedeCircle = ((x - 1) * (x - 1) + (y - 1) * (y - 1)) <= 9;
            bool isOutsedeRectangle = ((x < -1) || (x > 5)) && ((y > 1) || (y < -1));
            if (isInsedeCircle && isOutsedeRectangle)
            {
                Console.WriteLine("The point is inside the figure");
            }
            else
            {
                Console.WriteLine("The point is not insede the figure");
            }
        }
    }
}
